<?

// Error reporting
error_reporting(1);
error_reporting(E_ALL & ~E_NOTICE);
ini_set("display_errors", 1);
ini_set('max_execution_time', 50000);
ini_set('max_input_time', 50000);


// Define path to site root directory
defined('SITE_ROOT_PATH') || define('SITE_ROOT_PATH', realpath(dirname(__FILE__).'/../../').'/');

// MySQL database settings
define("DBHOST", "localhost");
define("DBUSER", "root");
define("DBPASS", "");
define("DBNAME", "latedeals");

// Server constants
define('SITE_ROOT_PATH_DOMXML_HAPPY', 'D:\\_server\\latedeals.ie\\');
define('UPLOAD_HTTP_PERM', 'http://media.latedeals/');
define('UPLOAD_ABS_PERM',  SITE_ROOT_PATH.'media.latedeals.ie/');
define('UPLOAD_HTTP_TEMP', 'http://temp.latedeals/');
define('UPLOAD_ABS_TEMP',  SITE_ROOT_PATH.'temp.latedeals.ie/');
define('MAIN_SITE_ROOT', 'http://latedeals');

//MISC FILES
define('FILE_TOP_SEARCHES', SITE_ROOT_PATH.'tasks/top_searches.txt');
define('FILE_TOP_SKI_SEARCHES', SITE_ROOT_PATH.'tasks/top_ski_searches.txt');
define('SITE_NAME', 'ld.athos');

define('STAGEENV', 'DEV');

$externalscript = true;
require_once SITE_ROOT_PATH.'latedeals_hbe/_lib/base/common.php';